#ifndef QCLICKEDLABEL_H
#define QCLICKEDLABEL_H
#include <QLabel>
#include <QWidget>

class QClickedLabel: public QLabel
{
    Q_OBJECT
    signals:
        void Clicked(QClickedLabel* clicked);
    public:
        QClickedLabel(QWidget *parent=0): QLabel(parent),m_str("")
        {
            setText(m_str);
        };
        ~QClickedLabel() {};
    protected:
        void mouseReleaseEvent( QMouseEvent* );
    private:
        QString m_str;

};

#endif // QCLICKEDLABEL_H
